package com.ruoyi.smart.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品测试数据集对象 smart_product_test_all_data
 * 
 * @author minwei
 * @date 2023-09-04
 */
public class SmartProductTestAllData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productCode;

    /** 测试结果 */
    @Excel(name = "测试结果")
    private String testResult;

    /** 测试时长 */
    @Excel(name = "测试时长")
    private String testTime;

    /** 电流 */
    @Excel(name = "电流")
    private String current;

    /** 电压 */
    @Excel(name = "电压")
    private String voltage;

    /** 设定温度 */
    @Excel(name = "设定温度")
    private String temperature;

    /** 震动时间 */
    @Excel(name = "震动时间")
    private String shakeTime;

    /** 震动频率 */
    @Excel(name = "震动频率")
    private String shakeFrequency;

    /** 震动幅值 */
    @Excel(name = "震动幅值")
    private String shakeSize;

    /** 设备id */
    @Excel(name = "设备id")
    private String deviceId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 数据名称 */
    @Excel(name = "数据名称")
    private String testName;

    /** 测试人 */
    @Excel(name = "测试人")
    private String testUesr;

    /** 产品型号id */
    @Excel(name = "产品型号id")
    private Long productModelId;

    /** 计划任务id */
    @Excel(name = "计划任务id")
    private Long taskPalnId;

    /** 组织机构id */
    @Excel(name = "组织机构id")
    private Long organizeorganazId;

    /** 波形数据 */
    @Excel(name = "波形数据")
    private String waveData;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductId(Long productId)
    {
        this.productId = productId;
    }

    public Long getProductId()
    {
        return productId;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setTestResult(String testResult) 
    {
        this.testResult = testResult;
    }

    public String getTestResult() 
    {
        return testResult;
    }
    public void setTestTime(String testTime) 
    {
        this.testTime = testTime;
    }

    public String getTestTime() 
    {
        return testTime;
    }
    public void setCurrent(String current) 
    {
        this.current = current;
    }

    public String getCurrent() 
    {
        return current;
    }
    public void setVoltage(String voltage) 
    {
        this.voltage = voltage;
    }

    public String getVoltage() 
    {
        return voltage;
    }
    public void setTemperature(String temperature) 
    {
        this.temperature = temperature;
    }

    public String getTemperature() 
    {
        return temperature;
    }
    public void setShakeTime(String shakeTime) 
    {
        this.shakeTime = shakeTime;
    }

    public String getShakeTime() 
    {
        return shakeTime;
    }
    public void setShakeFrequency(String shakeFrequency) 
    {
        this.shakeFrequency = shakeFrequency;
    }

    public String getShakeFrequency() 
    {
        return shakeFrequency;
    }
    public void setShakeSize(String shakeSize) 
    {
        this.shakeSize = shakeSize;
    }

    public String getShakeSize() 
    {
        return shakeSize;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setTestName(String testName)
    {
        this.testName = testName;
    }

    public String getTestName()
    {
        return testName;
    }
    public void setTestUesr(String testUesr) 
    {
        this.testUesr = testUesr;
    }

    public String getTestUesr() 
    {
        return testUesr;
    }
    public void setProductModelId(Long productModelId) 
    {
        this.productModelId = productModelId;
    }

    public Long getProductModelId() 
    {
        return productModelId;
    }
    public void setTaskPalnId(Long taskPalnId) 
    {
        this.taskPalnId = taskPalnId;
    }

    public Long getTaskPalnId() 
    {
        return taskPalnId;
    }
    public void setOrganizeorganazId(Long organizeorganazId) 
    {
        this.organizeorganazId = organizeorganazId;
    }

    public Long getOrganizeorganazId() 
    {
        return organizeorganazId;
    }
    public void setWaveData(String waveData) 
    {
        this.waveData = waveData;
    }

    public String getWaveData() 
    {
        return waveData;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("productCode", getProductCode())
            .append("testResult", getTestResult())
            .append("testTime", getTestTime())
            .append("current", getCurrent())
            .append("voltage", getVoltage())
            .append("temperature", getTemperature())
            .append("shakeTime", getShakeTime())
            .append("shakeFrequency", getShakeFrequency())
            .append("shakeSize", getShakeSize())
            .append("deviceId", getDeviceId())
            .append("createDate", getCreateDate())
            .append("state", getTestName())
            .append("testUesr", getTestUesr())
            .append("productModelId", getProductModelId())
            .append("taskPalnId", getTaskPalnId())
            .append("organizeorganazId", getOrganizeorganazId())
            .append("waveData", getWaveData())
            .toString();
    }
}
